<template>
  <van-swipe class="my-swipe" :autoplay="0" indicator-color="blue">
    <van-swipe-item v-for="item in bannerarr" :key="item.id">
        <img :src="item.image_url" alt="">
    </van-swipe-item>
  </van-swipe>
</template>

<script>
export default {
    // props:["bannerarr"]
    props:{
        bannerarr:{
            type:Array,
            default:[],
        } 
    }
};
</script>

<style lang="less" scoped>
.van-swipe {
    font-size: 0;
    img {
        width: 100%;
    }

    /deep/.van-swipe__indicator {
        background-color: skyblue;
    }
}
</style>